# $Id: PKGBUILD 81442 2012-12-21 03:27:19Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Auguste Pop <auguste [at] gmail [dot] com>

pkgname=osdlyrics
pkgver=0.4.3
pkgrel=2
pkgdesc="A lyric show compatible with various media players"
arch=('i686' 'x86_64')
url="http://code.google.com/p/osd-lyrics/"
license=('GPL3')
depends=('gtk2' 'dbus-glib' 'curl' 'libnotify' 'libmpd' 'xmms2'
         'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool')
install=$pkgname.install
source=("http://osd-lyrics.googlecode.com/files/$pkgname-$pkgver.tar.gz")
md5sums=('a14a3fbfe07eb7137074126db63b9aa2')

build()
{
    cd "$srcdir/$pkgname-$pkgver"

    ./configure --prefix=/usr
    make
}

package()
{
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}
